package org.tinygroup.bizframe.dao.inter.constant;

import org.tinygroup.bizframe.dao.inter.pojo.TsysUser;
import org.tinygroup.tinysqldsl.base.Column;
import org.tinygroup.tinysqldsl.base.Table;

/**
 * <!-- begin-user-doc --> 系统用户表 * <!-- end-user-doc -->
 */
public class TsysUserTable extends Table {

	/**
	 * <!-- begin-user-doc --> <!-- end-user-doc -->
	 */
	public static final TsysUserTable TSYS_USER_TABLE = new TsysUserTable();

	/**
	 * <!-- begin-user-doc --> 用户代码 * <!-- end-user-doc -->
	 */
	public final Column USER_ID = new Column(this, "user_id");
	/**
	 * <!-- begin-user-doc --> 机构编号 * <!-- end-user-doc -->
	 */
	public final Column BRANCH_CODE = new Column(this, "branch_code");
	/**
	 * <!-- begin-user-doc --> 部门编号 * <!-- end-user-doc -->
	 */
	public final Column DEP_CODE = new Column(this, "dep_code");
	/**
	 * <!-- begin-user-doc --> 用户名称 * <!-- end-user-doc -->
	 */
	public final Column USER_NAME = new Column(this, "user_name");
	/**
	 * <!-- begin-user-doc --> 用户密码 * <!-- end-user-doc -->
	 */
	public final Column USER_PWD = new Column(this, "user_pwd");
	/**
	 * <!-- begin-user-doc --> 用户分类 * <!-- end-user-doc -->
	 */
	public final Column USER_TYPE = new Column(this, "user_type");
	/**
	 * <!-- begin-user-doc --> 用户组别 * <!-- end-user-doc -->
	 */
	public final Column USER_LEVEL = new Column(this, "user_level");
	/**
	 * <!-- begin-user-doc --> 用户状态 * <!-- end-user-doc -->
	 */
	public final Column USER_STATUS = new Column(this, "user_status");
	/**
	 * <!-- begin-user-doc --> 锁定状态 * <!-- end-user-doc -->
	 */
	public final Column LOCK_STATUS = new Column(this, "lock_status");
	/**
	 * <!-- begin-user-doc --> 创建者 * <!-- end-user-doc -->
	 */
	public final Column CREATOR = new Column(this, "creator");
	/**
	 * <!-- begin-user-doc --> 创建时间 * <!-- end-user-doc -->
	 */
	public final Column CREATE_DATE = new Column(this, "create_date");
	/**
	 * <!-- begin-user-doc --> 最后修改时间 * <!-- end-user-doc -->
	 */
	public final Column MODIFY_DATE = new Column(this, "modify_date");
	/**
	 * <!-- begin-user-doc --> 密码修改时间 * <!-- end-user-doc -->
	 */
	public final Column PASS_MODIFY_DATE = new Column(this, "pass_modify_date");
	/**
	 * <!-- begin-user-doc --> 授权级别 * <!-- end-user-doc -->
	 */
	public final Column AUTH_LEVEL = new Column(this, "auth_level");
	/**
	 * <!-- begin-user-doc --> 个性化主页 * <!-- end-user-doc -->
	 */
	public final Column HOME_PAGE = new Column(this, "home_page");
	/**
	 * <!-- begin-user-doc --> 备注 * <!-- end-user-doc -->
	 */
	public final Column REMARK = new Column(this, "remark");
	/**
	 * <!-- begin-user-doc --> 扩展字段1 * <!-- end-user-doc -->
	 */
	public final Column EXT_FIELD1 = new Column(this, "ext_field1");
	/**
	 * <!-- begin-user-doc --> 扩展字段2 * <!-- end-user-doc -->
	 */
	public final Column EXT_FIELD2 = new Column(this, "ext_field2");
	/**
	 * <!-- begin-user-doc --> 扩展字段4 * <!-- end-user-doc -->
	 */
	public final Column EXT_FIELD4 = new Column(this, "ext_field4");
	/**
	 * <!-- begin-user-doc --> 扩展字段5 * <!-- end-user-doc -->
	 */
	public final Column EXT_FIELD5 = new Column(this, "ext_field5");
	/**
	 * <!-- begin-user-doc --> 扩展字段3 * <!-- end-user-doc -->
	 */
	public final Column EXT_FIELD3 = new Column(this, "ext_field3");

	private static java.util.Map<String, String> mappings = new java.util.Hashtable<String, String>();

	public String getFieldName(String attrName) {
		return mappings.get(attrName);
	}

	public TsysUserTable() {
		super("tsys_user");
	}

	public TsysUserTable(String schemaName) {
		super(schemaName, "tsys_user");
	}

	public TsysUserTable(String schemaName, String alias) {
		super(schemaName, "tsys_user", alias);
	}

	public TsysUserTable(String schemaName, String alias, boolean withAs) {
		super(schemaName, "tsys_user", alias, withAs);
	}

	public Class<TsysUser> getPojoType() {
		return TsysUser.class;
	}

	static {
		mappings.put("userId", "user_id");
		mappings.put("branchCode", "branch_code");
		mappings.put("depCode", "dep_code");
		mappings.put("userName", "user_name");
		mappings.put("userPwd", "user_pwd");
		mappings.put("userType", "user_type");
		mappings.put("userLevel", "user_level");
		mappings.put("userStatus", "user_status");
		mappings.put("lockStatus", "lock_status");
		mappings.put("creator", "creator");
		mappings.put("createDate", "create_date");
		mappings.put("modifyDate", "modify_date");
		mappings.put("passModifyDate", "pass_modify_date");
		mappings.put("authLevel", "auth_level");
		mappings.put("homePage", "home_page");
		mappings.put("remark", "remark");
		mappings.put("extField1", "ext_field1");
		mappings.put("extField2", "ext_field2");
		mappings.put("extField4", "ext_field4");
		mappings.put("extField5", "ext_field5");
		mappings.put("extField3", "ext_field3");

	}

}
